<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> 绝对定位position: absolute </title>
    <style>
        div.box1{
            width: 100px;
            height: 100px;
            border: 1px solid black;
            margin-bottom: 10px;
        }
        div.box2{
            width: 100px;
            height: 100px;
            border: 1px solid black;
            margin-bottom: 10px;
            /* position: relative 相对定位 */
            position: absolute;
            left: 80px;
            top: 80px;
            background-color: chartreuse;
        }
        div.box3{
            width: 100px;
            height: 100px;
            border: 1px solid black;
            margin-bottom: 10px;
        }
    </style>
</head>

<body>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>
</body>

</html>